from rest_framework_mongoengine import serializers
from .models import Spit


class SpiltModelSerializer(serializers.DocumentSerializer):
    class Meta:
        model = Spit
        fields = '__all__'